import { createRoot } from 'react-dom/client';
import { RouterProvider } from 'react-router-dom';
import { router } from '@/router';

/**
 * Styles
 */
import './main.less';

createRoot(document.getElementById('root')!).render(
    <RouterProvider router={router} fallbackElement={<div>Loading...</div>} />,
);
